<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>PDFObject.js示例</title>
<script type="text/javascript" src="../../js/pdfobject.js"></script>
<script type="text/javascript" src="../../js/jquery-latest.min.js"></script>
<!-- <script type="text/javascript" src="../../easyui/plugins/jquery.media.js"></script> -->
<script type="text/javascript">
	//说明：服务器条件下失效，本地文件访问正常
	$(function(){
		//$('a.media').media();
		var myPDF = new PDFObject({ url: "../../data/sample.pdf",pdfOpenParams: { scrollbars: '0', toolbar: '0', statusbar: '0'} }).embed();
		if(myPDF){
			//alert("加载成功...");
			//使用node.js非兼容模式加载时会出现乱码，tomcat服务器不会暂不修复
		}
	});
</script>
</head>
<body>
	<!-- <a class="media" href="../../data/sample.pdf"></a> -->
    <p>It appears you don't have Adobe Reader or PDF support in this web
    browser. <a href="../../data/sample.pdf">Click here to download the PDF</a></p>
    
</body>
</html>